package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 银藻道具卡对象 pc_card
 * 
 * @author ruoyi
 * @date 2022-08-05
 */
@ApiModel(value = "PcCard",description = "银藻道具卡对象 pc_card")
public class PcCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 银藻道具卡主键ID */
    private Long id;

    /** 名称 */
    @ApiModelProperty(value="名称",name="PcCard$name")
    @Excel(name = "名称")
    private String name;

    /** 增加的比例 */
    @ApiModelProperty(value="增加的比例",name="PcCard$addRate")
    @Excel(name = "增加的比例")
    private BigDecimal addRate;
    /** 银藻价格 */
    @ApiModelProperty(value="银藻价格",name="PcCard$addRate")
    @Excel(name = "银藻价格")
    private BigDecimal silverPrice;
    @ApiModelProperty(value="是否删除",name="PcCard$isDelete")
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 库存数量 */
    @ApiModelProperty(value="库存数量",name="PcCard$storageAmount")
    @Excel(name = "库存数量")
    private Long storageAmount;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Long getSellStatus() {
        return sellStatus;
    }

    public void setSellStatus(Long sellStatus) {
        this.sellStatus = sellStatus;
    }

    @ApiModelProperty(value="图片",name="PcCard$img")
    @Excel(name = "图片")
    private String img;

    @ApiModelProperty(value="上下架状态",name="PcCard$sellStatus")
    @Excel(name = "上下架状态")
    private Long sellStatus;

    public Long getStorageAmount() {
        return storageAmount;
    }

    public void setStorageAmount(Long storageAmount) {
        this.storageAmount = storageAmount;
    }

    public Long getSellAmount() {
        return sellAmount;
    }

    public void setSellAmount(Long sellAmount) {
        this.sellAmount = sellAmount;
    }

    /** 已出售数量 */
    @ApiModelProperty(value="已出售数量",name="PcCard$sellAmount")
    @Excel(name = "已出售数量")
    private Long sellAmount;

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public BigDecimal getSilverPrice() {
        return silverPrice;
    }

    public void setSilverPrice(BigDecimal silverPrice) {
        this.silverPrice = silverPrice;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddRate(BigDecimal addRate) 
    {
        this.addRate = addRate;
    }

    public BigDecimal getAddRate() 
    {
        return addRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("addRate", getAddRate())
            .toString();
    }
}
